import java.util.Scanner;

/**
 * Created by dllo on 18/3/29.
 */
public class Question01 {
    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);
        System.out.println("输入年份");
        int year = scanner.nextInt();

        if ((year % 100 != 0 && year % 4 == 0)||year%400==0) {
            System.out.println("是闰年");
//        } else if (year % 4 == 0) {
//            System.out.println("闰年");
        } else {
            System.out.println("不是闰年");
        }

    }
}
